package cn.wetcland.urban.admin.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CarUpdateDTO {

    @NotNull(message = "请输入车ID")
    private Long carId;

    @NotBlank(message = "请输入车牌号")
    private String carNo;

    /**
     * 车颜色
     */
    @NotBlank(message = "请输入车颜色")
    private String carColor;

    /**
     * 车容量
     */
    @NotBlank(message = "请输入车容量")
    private String carCapacity;

    /**
     * 描述
     */
    @NotBlank(message = "请输入车描述")
    private String carDescription;

}
